<?php
/**
 * 公司页面控制器
 * @author         1959531621@qq.com
 * @filesource
 */
defined('IN_RCPHP') or exit('Access denied');

class companyController extends commonController
{

    /**
     * Template variable
     *
     * @var array
     */
    private $_data = array();

    /**
     * Model object
     *
     * @var object
     */
    private $_model = null;
    /**
     * Extends base construct method.
     *
     * @author fanlc<lingchao.fan@huatandm.com>
     */
    public function __construct()
    {
        parent::__construct();
        $this->_model = M('company');
    }

    /**
     * 新闻列表页面
     * @author 19595831621@qq.com
     */
    public function index()
    {
        //$this->initMeetPage($this->_data,$this->_mid,1);

        // $this->display('index');
        $this->display('companyListView');
    }

    /**
     * 公司详情页面
     * @author 19595831621@qq.com
     */
    public function companydetail()
    {
        // echo'hello';
        //$this->initMeetPage($this->_data,$this->_mid,1);

        // $this->display('index');
        $this->display('companydetailView');
    }

}